﻿using ChikovMF.Entities;
using MediatR;

namespace ChikovMF.Application.Features.Tags.EditTag;

public class EditTagCommand : IRequest<Guid>
{
    public Guid TagId { get; set; }
    public string Name { get; set; } = null!;

    internal void UpdateTag(Tag tag)
    {
        tag.Name = this.Name;
    }
}
